projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85609d1
)
Fixing GtkCellView to not strcmp() in buildable_custom_tag_end()
author
Tristan Van Berkom
<tristan.van.berkom@gmail.com>
Sat, 4 Dec 2010 08:14:32 +0000
(17:14 +0900)
committer
Tristan Van Berkom
<tristan.van.berkom@gmail.com>
Tue, 4 Jan 2011 14:37:11 +0000
(23:37 +0900)
GtkCellLayout function now returns boolean if one of the tags
it was interested in was handled.
gtk/gtkcellview.c
patch
|
blob
|
history
diff --git
a/gtk/gtkcellview.c
b/gtk/gtkcellview.c
index a63b7f5ba8247bde5d80458afed12bec6bc9c8a9..402fb48dbb69188e2ed589f64d470bc2d477bc78 100644
(file)
--- a/
gtk/gtkcellview.c
+++ b/
gtk/gtkcellview.c
@@
-832,9
+832,9
@@
gtk_cell_view_buildable_custom_tag_end (GtkBuildable *buildable,
const gchar *tagname,
gpointer *data)
{
- if (
strcmp (tagname, "attributes") == 0 || strcmp (tagname, "cell-packing") == 0)
- _gtk_cell_layout_buildable_custom_tag_end (buildable, builder, child, tagname,
-
data)
;
+ if (
_gtk_cell_layout_buildable_custom_tag_end (buildable, builder, child, tagname,
+ data))
+
return
;
else if (parent_buildable_iface->custom_tag_end)
parent_buildable_iface->custom_tag_end (buildable, builder, child, tagname,
data);